using System.ComponentModel.DataAnnotations;
using SupplierCustomerManagement.Domain.Entities;

namespace SupplierCustomerManagement.Domain.ReportForms
{
    /// <summary>
    /// 种母繁殖状态实体
    /// 用于记录母羊的繁殖状态变化
    /// </summary>
    public class EweReproductiveStatus : BaseEntity
    {
        /// <summary>
        /// 母羊ID
        /// </summary>
        [Required]
        public int EweId { get; set; }

        /// <summary>
        /// 当前状态（待配种/已配种/怀孕/待产/哺乳/空怀）
        /// </summary>
        [Required]
        [StringLength(20)]
        public string CurrentStatus { get; set; }

        /// <summary>
        /// 状态日期
        /// </summary>
        [Required]
        public DateTime StatusDate { get; set; }

        /// <summary>
        /// 关联配种记录ID
        /// </summary>
        public int? BreedingId { get; set; }

        /// <summary>
        /// 关联产羔记录ID
        /// </summary>
        public int? LambingId { get; set; }

        /// <summary>
        /// 胎次
        /// </summary>
        public int? Parity { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Notes { get; set; }
    }
}
